package 设计模式.模板方法.template;

public abstract class template {


    public final void live(){

        child();
        young();
        old();
        die();

    }

    abstract void child();

    abstract void young();

    abstract void old();

    abstract void die();

}
